package com.taotao.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping({"","/"})
public class LoginController {
    @RequestMapping
    public String goLogin() {
        return "login";
    }

    @RequestMapping("loginOut")
    public String loginOut() {
        return "login";
    }


    @RequestMapping("login")
    public String login() {
        return "index";
    }
}
